package com.gui.mianshiya.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Title: UserSignIn
 * @Author quit
 * @Package com.gui.mianshiya.model.entity
 * @Date 2025/5/5 13:58
 * @description: 用户签到实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value ="user_sign_in")
public class UserSignIn {

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 签到时间
     */
    private Date signDate;

    /**
     * 创建时间
     */
    private Date createTime;


    /**
     * 签到积分
     */
    private Integer points;

    /**
     * 签到等级
     */
    private Integer levels;

    // 新增连续签到天数字段
    private Integer continuousDays;

}
